"""
基本设置
"""
import os

MODEL_NAME=os.getenv("MODEL_NAME","qwen-plus")
BASE_URL=os.getenv("BASE_URL","https://dashscope.aliyuncs.com/compatible-mode/v1")
TONGYI_API_KEY = os.getenv("TONGYI_API_KEY")


#OllamaEmbeddings
OLLAMA_EMBEDDING_URL = os.getenv("OLLAMA_EMBEDDING_URL","http://127.0.0.1:11434")
OLLAMA_EMBEDDING_MODEL = os.getenv("OLLAMA_EMBEDDING_MODEL","nomic-embed-text")

# Xinference
XINFERENCE_ENDPOINT = os.getenv("XINFERENCE_ENDPOINT")
XINFERENCE_RERANK_MODEL = os.getenv("XINFERENCE_RERANK_MODEL")